.add-node {
  position: absolute;
  top: -36px;
  left: 70px;
  font-size: 14px;
  color: #3B75FF;
  text-decoration-line: underline;
  cursor: pointer;
  z-index: 10;
}


.node-box {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;

  .node-item {
    width: 300px;
    height: 500px;
    border: 1px solid #DDE2EE;
    border-radius: 8px;
    margin-right: 30px;
    margin-bottom: 20px;
    position: relative;

    .el-icon-error {
      position: absolute;
      font-size: 14px;
      top: -7px;
      right: -7px;
      color: #B6B6B6;
      cursor: pointer;
      transition: .3s;

      &:hover {
        color: #000;
      }
    }


    .node-header {
      width: 100%;
      height: 39px;
      border-bottom: 1px solid #DDE2EE;
      display: flex;
      align-items: center;
      justify-content: center;

      .node-title {
        color: #5C5F66;
        font-size: 14px;
        margin-right: 5px;
        height: 20px;
        line-height: 20px;
      }

      i {
        color: #B6B6B6;
        font-size: 12px;
        cursor: pointer;
      }
    }

    .node-conter {
      width: 100%;
      height: calc(100% - 73px);
      padding: 10px;
      overflow: auto;
      box-sizing: border-box;

      .null-data {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .standard-item {
        width: 100%;
        line-height: 14px;
        margin-bottom: 20px;

        &:last-child {
          margin-bottom: 0;
        }

        .standard-top {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;


          .standard-title {
            display: flex;
            width: calc(100% - 40px);
            color: #5C5F66;
            line-height: 20px;
          }

          .icon-box {
            width: 40px;
            display: flex;
            align-items: center;
            margin-top: 5px;

            i {
              font-size: 14px;
              color: #B6B6B6;
              margin-left: 5px;
              cursor: pointer;
            }

            .el-icon-close {
              transition: .3s;

              &:hover {
                color: #000;
              }
            }

          }
        }

        .standard-desc {
          margin-top: 8px;
          font-size: 12px;
          color: #A6AAB8;
        }

      }
    }

    .node-footer {
      width: 100%;
      height: 34px;
      border-top: 1px solid #DDE2EE;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: .3s;
      border-radius: 0px 0px 8px 8px;

      &:hover {
        background: rgba(0, 0, 0, 0.03);
      }

      .add-standard {
        color: #3B75FF;
        font-size: 14px;
        margin-left: 3px;
      }

      i {
        color: #3B75FF;
        font-size: 12px;
        cursor: pointer;
      }
    }
  }
}


::v-deep .el-form-item {
  margin-right: 0 !important;
}


// 弹窗
.demo-form-inline {
  width: 100%;

  .el-input {
    width: 220px;
  }

  .textarea {
    width: 220px;
  }

  .add-node {
    width: 103px;
    height: 36px;
    background: rgb(245, 247, 250);
    border-radius: 4px;
    border: 1px solid #dde2ee;
    font-weight: 400;
    font-size: 13px;
    color: #5c5f66;
    padding: 0;
    text-align: center;

    &:hover {
      opacity: 0.6;
    }
  }

  .node-box {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #dde2ee;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 15px;
    box-sizing: border-box;
    width: 100%;
    height: 360px;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #dde2ee;

    ::v-deep .el-checkbox {
      display: inline-flex;
      align-items: center;
    }

    ::v-deep .el-checkbox__label {
      line-height: 1;
    }

    ::v-deep .el-checkbox.is-bordered {
      margin: 0 10px 10px 0 !important;
    }

    .check-item {
      width: 250px;
      height: 89px;
      border-radius: 4px;
      // border: 1px solid #3d7fff;
      border: 1px solid #dde2ee;
      padding: 10px;
      box-sizing: border-box;
      margin: 0 10px 10px 0;

      &:nth-child(3n) {
        margin-right: 0;
      }

      .radio-group {
        width: 100%;
        padding-left: 25px;
        box-sizing: border-box;
        margin-top: 10px;
      }
    }
  }

  .template-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    .template-item {
      width: calc(50% - 20px);
      height: 300px;
      background: #fafbfc;
      border-radius: 8px;
      border: 1px solid #dde2ee;
      margin: 0 20px 20px 0;
      position: relative;

      .el-icon-error {
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 20px;
        color: #b6b6b6;
      }

      &:nth-child(2n) {
        margin-right: 0;
      }

      .scroll-view {
        width: 100%;
        height: 100%;
        padding: 11px 12px;
        box-sizing: border-box;

        .template-title {
          font-weight: 500;
          font-size: 14px;
          color: #5c5f66;
          margin: 0 0 10px;

          .title {
            font-weight: 500;
            font-size: 15px;
            color: #5c5f66;
          }

          .el-icon-edit,
          .el-icon-circle-plus-outline,
          .el-icon-delete {
            font-size: 16px;
            color: #b6b6b6;
            margin-left: 5px;
          }
        }

        .node-item-box {
          width: 100%;

          .node-item-title {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;

            .el-icon-circle-plus-outline,
            .el-icon-delete {
              font-size: 16px;
              color: #b6b6b6;
              margin-left: 5px;
            }

            .checkbox-box {
              display: flex;
              align-items: center;

              .title-text {
                font-weight: 400;
                font-size: 14px;
                color: #5c5f66;
              }
            }

            .el-icon-edit {
              color: #b6b6b6;
              margin-left: 5px;
              font-size: 16px;
            }
          }

          .node-input {
            width: 100%;
            margin: 0 0 10px;
          }

          .check-box {
            width: 100%;

            .tag {
              height: 32px;
              background: #ffffff;
              border-radius: 4px;
              border: 1px solid #dcdfe6;
              font-weight: 400;
              font-size: 12px;
              color: #5c5f66;
              margin: 0 10px 10px 0;

              // width: 100%;
              // overflow: hidden; /* 确保溢出文本会被隐藏 */
              // white-space: nowrap; /* 确保文本在一行内显示 */
              // text-overflow: ellipsis; /* 使用省略号显示文本溢出 */
              i {
                color: #b6b6b6;
                margin: 0 0 0 5px;
                font-size: 16px;
              }
            }
          }
        }
      }
    }
  }
}

.bz-search {
  display: flex;
  justify-content: flex-end;

  ::v-deep .el-form-item {
    margin-bottom: 10px;

    &:last-child {
      margin-right: 0;
    }
  }
}